<template>
    <div id="movie-tab">
        <ul>
            <router-link class="font-color" tag="li" to="/movie/city">
                北京<i class="fa fa-caret-down"></i>
            </router-link>
            <router-link class="font-color" tag="li" to="/movie/now">
                正在热映
            </router-link>
            <router-link class="font-color" tag="li" to="/movie/coming">
                即将上映
            </router-link>
            <router-link tag="li" to="/movie/search">
                <i class="fa fa-search"></i>
            </router-link>
        </ul>
        <keep-alive>
            <router-view></router-view>
        </keep-alive>
    </div>
</template>
<script>

</script>
<style scoped>
    #movie-tab{
        padding-top: 50px;
    }
    li{
        display: inline-block;
        text-align: center;
        width: 25%;
        height: 50px;
        line-height: 50px;
        font-weight: bold;
    }
    .font-color{
        color: #666;
    }
    .fa-caret-down{
        margin-left: 5px;
    }
    .fa-search{
        font-size: 25px;
    }
    .router-link-active{
        color: #e54847;
        border-bottom: 2px solid #e54847;
    }
</style>